Skip to content

Conversation

@EstefaSora125
Copy link
Owner

Fetch JavaScript exercise by Estefanía Sora

Comment on lines +13 to +19
let img = document.createElement('img');
let paragraph = document.createElement('h1');
img.src = githubUser.avatar_url;
img.className = "promise-image";
paragraph.innerHTML = 'Name: ' + githubUser.login;
document.body.append(paragraph);
document.body.append(img);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please implement this exercise without creating these elements, they should be already present on the HTML and you just need to use the reference to them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants